/*
商户准入决策流
 */
public class Test {
    public static void main(String[] args) {
//        String[] platform =  new String[]{"H5","APP", "WXMP", null};
//        String[] channelCode = new String[]{"1000000000034243", "1100100000050796", null};
//        String[] model = new String[]{"IOS", "XIAOMI", "HUAWEI", "VIVO", "OPPO", "HONOR", null};
//        String[] yingStartCreditUCnt = new String[]{"0", "199", "200", "201", null};
//        String[] age = new String[] {"21", "22", "49", "50", null};
//        String[] area = new String[]{"安徽省", "北京市", "江苏省", "陕西省", "上海市", "天津市", "浙江省", " 山西省", "河南省", "广东省"};
//        String[][] city = new String[][]{
//                {"安庆市", "宣城市", "黄山市", "亳州市", "宿州市", "池州市", "合肥市", "蚌埠市"},
//                {"北京市"},
//                {"连云港市", "宿迁市", "南京市", "苏州市"},
//                {"宝鸡市", "咸阳市", "西安市", "汉中市"},
//                {"上海市"},
//                {"天津市"},
//                {"金华市", "湖州市", "丽水市", "杭州市", "宁波市"},
//                {"临汾市", "大同市", "晋中市", "太原市", "大同市"},
//                {"郑州市", "许昌市"},
//                {"广州市", "珠海市"}
//            };
//        String[] userPhone = new String[]{"17392755291", null};
//        String[] phoneProvinceBelong = new String[]{"安徽省", "陕西省"};
//        String[][] phoneCityBelong = new String[][]{
//                {"安庆市", "宣城市", "合肥市", "蚌埠市"},
//                {"西安市", "榆林市"}};
//        String[] gpsProvince = new String[]{"陕西省", "黑龙江省"};
//        String[][] gpsCity =new String[][] {{"西安市","渭南市"},{"哈尔滨市","齐齐哈尔市"}};
//        String[] cifid =  new String[]{"1807610186328862722", null};

        String[] platform =  new String[]{"H5","APP","WXMP"};
        String[] channelCode = new String[]{"1000000000030323", "1000000000082031"};
        String[] model = new String[]{"IOS","HUAWEI"};
        String[] yingStartCreditUCnt = new String[]{"200","199"};
        String[] age = new String[] {"22"};
        String[] area = new String[]{"河南省","黑龙江省"};
        String[][] city = new String[][]{
                {"郑州市"},
                {"哈尔滨市"}
        };
        String[] userPhone = new String[]{"17392755291","19692755291","17192755291"};
        String[] phoneProvinceBelong = new String[]{"四川省","云南省"};
        String[][] phoneCityBelong = new String[][]{
                {"成都市"},
                {"香格里拉市"}
        };
        String[] gpsProvince = new String[]{"陕西省","江苏省"};
        String[][] gpsCity =new String[][] {{"西安市"},{"南京市"}};
        String[] cifid =  new String[]{"1807610186328862722"};


        int count = 0;

        for (String a : platform){
            for (String b : channelCode){
                for (String c : model){
                    for (String d : yingStartCreditUCnt){
                        for (String e : age){
                            for (int i = 0; i < area.length; i++) {
                                for (int j = 0; j < city[i].length; j++) {
                                    for (String f : userPhone){
                                        for (int h = 0; h < phoneProvinceBelong.length; h++) {
                                            for (int m = 0; m < phoneCityBelong[h].length; m++) {
                                                for (int k = 0; k < gpsProvince.length; k++) {
                                                    for (int z = 0; z < gpsCity[k].length; z++) {
                                                        for (String p : cifid){
//                                                            System.out.println(a + "," + b + "," + c + "," + d + "," + e  + "," +
//                                                                    area[i] + "," + city[i][j] + "," + f + "," +
//                                                                    phoneProvinceBelong[h] + "," + phoneCityBelong[h][m] + "," +
//                                                                    gpsProvince[k] + "," + gpsCity[k][z] + "," + p);
                                                            System.out.println(area[i] + "," + gpsCity[k][z] + "," + phoneProvinceBelong[h] + "," + city[i][j]
                                                            + "," + phoneCityBelong[h][m] + "," + f + "," + a + "," + d + "," + c + "," +  gpsProvince[k] + "," +
                                                            e + "," + b + "," + p);
                                                            count++;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        System.out.println("总数据量：" + count);
    }
}
